package casa.depesos.app.com.http.parser;


import casa.depesos.app.com.http.BaseParser;
import casa.depesos.app.com.http.bean.UpdateBean;

public class UpdateParser extends BaseParser<UpdateBean> {

    boolean showError;

    public UpdateParser(boolean showError) {
        this.showError = showError;
    }

    @Override
    public UpdateBean parseData(UpdateBean value) {
        value.setShowErr(showError);
        return value;
    }
}
